home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / comp / www < prev    next >
Internet Message Format  |  1994-04-17  |  29KB

  1. Path: bloom-beacon.mit.edu!senator-bedfellow.mit.edu!faqserv
  2. From: boutell@netcom.com (Thomas Boutell)
  3. Newsgroups: comp.infosystems.www,comp.infosystems.wais,comp.infosystems.gopher,comp.infosystems,alt.hypertext,comp.answers,alt.answers,news.answers
  4. Subject: World Wide Web Frequently Asked Questions (FAQ)
  5. Supersedes: <www/faq_766232560@rtfm.mit.edu>
  6. Followup-To: comp.infosystems.www
  7. Date: 17 Apr 1994 13:09:00 GMT
  8. Organization: Nerdsholm
  9. Lines: 641
  10. Approved: news-answers-request@MIT.Edu
  11. Distribution: world
  12. Expires: 5 May 1994 13:08:05 GMT
  13. Message-ID: <www/faq_766588085@rtfm.mit.edu>
  14. NNTP-Posting-Host: bloom-picayune.mit.edu
  15. Summary: beginner & advanced world wide web questions-read before posting to comp.infosystems.www
  16. X-Last-Updated: 1994/04/09
  17. Originator: faqserv@bloom-picayune.MIT.EDU
  18. Xref: bloom-beacon.mit.edu comp.infosystems.www:13703 comp.infosystems.wais:2252 comp.infosystems.gopher:11300 comp.infosystems:2334 alt.hypertext:2674 comp.answers:4945 alt.answers:2475 news.answers:18204
  19.  
  20. Archive-name: www/faq
  21. Last-modified: 1994/04/08
  22.  
  23.  
  24.                            COMP.INFOSYSTEMS.WWW FAQ
  25.                                        
  26. Contents
  27.  
  28.      * 1: Recent changes to the FAQ
  29.      * 2: Information about this document
  30.      * 3: Elementary Questions
  31.           + 3.1: What are WWW, hypertext and hypermedia?
  32.           + 3.2: What is a URL?
  33.           + 3.3: How can I access the web?
  34.                o 3.3.1: Browsers accessible by telnet
  35.                o 3.3.2: Obtaining browsers
  36.           + 3.4: How can I provide information to the web?
  37.                o 3.4.1: Obtaining Servers
  38.                o 3.4.2: Producing HTML documents
  39.                o 3.4.3: How do I publicize my work?
  40.           + 3.5: How does WWW compare to gopher and WAIS?
  41.           + 3.6: What is on the web?
  42.           + 3.7: I want to know more.
  43.      * 4: Advanced Questions
  44.           + 4.1: How do I set up a clickable image map?
  45.           + 4.2: How do I make a "link" that doesn't load a new page?
  46.           + 4.3: Where can I learn how to create fill-out forms?
  47.           + 4.4: How can I save an inline image to disk?
  48.           + 4.5: How can I get sound from the PC speaker with WinMosaic?
  49.           + 4.6: How do I comment out part of an HTML document?
  50.      * 5: Credits
  51.        
  52.                          1: RECENT CHANGES TO THE FAQ
  53.                                        
  54.      * April 8th, 1994: Nathan Torkington's primers added
  55.      * April 8th, 1994: HTML Assistant for Windows added
  56.      * April 8th, 1994: More on why Hypertext is a Good Thing
  57.      * April 8th, 1994: Numerous FTP locations and URLs corrected
  58.      * April 8th, 1994: Added vanilla MSDOS browsers section
  59.      * April 8th, 1994: WinMosaic sound section added
  60.      * April 8th, 1994: Information on ViolaWWW added
  61.      * April 8th, 1994: Section on comments in HTML added
  62.      * April 8th, 1994: Section on how to announce offerings added
  63.      * April 8th, 1994: Information on MacHTTP and Plexus servers added
  64.        
  65.                       2: INFORMATION ABOUT THIS DOCUMENT
  66.                                        
  67.    This is an introduction to the World Wide Web project, describing the
  68.    concepts, software and access methods. It is aimed at people who know
  69.    a little about navigating the Internet, but want to know more about
  70.    WWW specifically. If you don't think you are up to this level, try an
  71.    introductory Internet book such as Ed Krol's "The Whole Internet" or
  72.    "Big Dummy's Guide to the Internet". The latter is available
  73.    electronically by anonymous FTP from ftp.eff.org in the directory
  74.    pub/Net_info/Big_Dummy.
  75.    
  76.    This informational document is posted to news.answers,
  77.    comp.infosystems.www, comp.infosystems.gopher, comp.infosystems.wais
  78.    and alt.hypertext on the 1st and 15th of every month (please allow a
  79.    day or two for it to propagate to your site). The latest version is
  80.    always available on the web as
  81.    <http://siva.cshl.org/~boutell/www_faq.html>. (see the section titled
  82.    "What is a URL?" to understand what this means.)
  83.    
  84.    The most recently posted version of this document is kept on the
  85.    news.answers archive on rtfm.mit.edu in
  86.    /pub/usenet/news.answers/www/faq. The URL for this is
  87.    _<file://rtfm.mit.edu/pub/usenet/news.answers/www/faq>_. For
  88.    information on FTP, send e-mail to mail-server@rtfm.mit.edu with
  89.    "_send usenet/news.answers/finding-sources_" in the body, instead of
  90.    asking me.
  91.    
  92.    Thomas Boutell maintains this document. Feedback about it is to be
  93.    sent via e-mail to boutell@netcom.com.
  94.    
  95.    In all cases, regard this document as out of date. Definitive
  96.    information should be on the web, and static versions such as this
  97.    should be considered unreliable at best. Please excuse any formatting
  98.    inconsistencies in the posted version of this document, as it is
  99.    automatically generated from the on-line version.
  100.    
  101.                             3: ELEMENTARY QUESTIONS
  102.                                        
  103. 3.1: What are WWW, hypertext and hypermedia?
  104.  
  105.    WWW stands for "World Wide Web". The WWW project, started by CERN (the
  106.    European Laboratory for Particle Physics), seeks to build a
  107.    distributed hypermedia system.
  108.    
  109.    
  110.    
  111.    The advantage of hypertext is that in a hypertext document, if you
  112.    want more information about a particular subject mentioned, you can
  113.    usually "just click on it" to read further detail. In fact, documents
  114.    can be and often are linked to other documents by completely different
  115.    authors -- much like footnoting, but you can get the referenced
  116.    document instantly!
  117.    
  118.    To access the web, you run a browser program. The browser reads
  119.    documents, and can fetch documents from other sources. Information
  120.    providers set up hypermedia servers which browsers can get documents
  121.    from.
  122.    
  123.    The browsers can, in addition, access files by FTP, NNTP (the Internet
  124.    news protocol), gopher and an ever-increasing range of other methods.
  125.    On top of these, if the server has search capabilities, the browsers
  126.    will permit searches of documents and databases.
  127.    
  128.    The documents that the browsers display are hypertext documents.
  129.    Hypertext is text with pointers to other text. The browsers let you
  130.    deal with the pointers in a transparent way -- select the pointer, and
  131.    you are presented with the text that is pointed to.
  132.    
  133.    Hypermedia is a superset of hypertext -- it is any medium with
  134.    pointers to other media. This means that browsers might not display a
  135.    text file, but might display images or sound or animations.
  136.    
  137. 3.2: What is a URL?
  138.  
  139.    URL stands for "Uniform Resource Locator". It is a draft standard for
  140.    specifying an object on the Internet, such as a file or newsgroup.
  141.    
  142.    URLs look like this:
  143.      * file://wuarchive.wustl.edu/mirrors/msdos/graphics/gifkit.zip
  144.      * file://wuarchive.wustl.edu/mirrors
  145.      * http://info.cern.ch:80/default.html
  146.      * news:alt.hypertext
  147.      * telnet://dra.com
  148.        
  149.    
  150.    
  151.    The first part of the URL, before the colon, specifies the access
  152.    method. The part of the URL after the colon is interpreted specific to
  153.    the access method. In general, two slashes after the colon indicate a
  154.    machine name (machine:port is also valid).
  155.    
  156.    In this document, you will often see URLs surrounded by angle
  157.    brackets. This is done because some newsreaders (I am told) can
  158.    recognize them and treat them as "buttons". Do not enter the angle
  159.    brackets when entering a URL by hand to your web browser.
  160.    
  161.    When you are told to "check out this URL", what to do next depends on
  162.    your browser; please check the help for your particular browser. For
  163.    the line-mode browser at CERN, which you will quite possibly use first
  164.    via telnet, the command to try a URL is "GO URL" (substitute the
  165.    actual URL of course). In Lynx you just select the "GO" link on the
  166.    first page you see; in graphical browsers, there's usually an "Open
  167.    URL" option in the menus.
  168.    
  169. 3.3: How can I access the web?
  170.  
  171.    You have two options -- either use a browser that can be telnetted to,
  172.    or use a browser on your machine.
  173.    
  174.   3.3.1: BROWSERS ACCESSIBLE BY TELNET
  175.   
  176.    An up-to-date list of these is available on the Web as
  177.    http://info.cern.ch/hypertext/WWW/FAQ/Bootstrap.html and should be
  178.    regarded as an authoritative list.
  179.    
  180.    info.cern.ch
  181.           No password is required. This is in Switzerland, so continental
  182.           US users might be better off using a closer browser.
  183.           
  184.    ukanaix.cc.ukans.edu
  185.           A full screen browser "Lynx" which requires a vt100 terminal.
  186.           Log in as www.
  187.           
  188.    www.njit.edu
  189.           (or telnet 128.235.163.2) Log in as www. A full-screen browser
  190.           in New Jersey Institute of Technology. USA.
  191.           
  192.    vms.huji.ac.il
  193.           (IP address 128.139.4.3). A dual-language Hebrew/English
  194.           database, with links to the rest of the world. The line mode
  195.           browser, plus extra features. Log in as www. Hebrew University
  196.           of Jerusalem, Israel.
  197.           
  198.    sun.uakom.cs
  199.           Slovakia. Has a slow link, only use from nearby.
  200.           
  201.    info.funet.fi
  202.           (or telnet 128.214.6.102). Log in as info. Not working.
  203.           
  204.    fserv.kfki.hu
  205.           Hungary. Has slow link, use from nearby. Login is as www.
  206.           
  207.   3.3.2: OBTAINING BROWSERS
  208.   
  209.    The preferred method of access of the Web is to run a browser
  210.    yourself. Browsers are available for many platforms, both in source
  211.    and executable forms. Here is a list generated from the authoritative
  212.    list, http://info.cern.ch/hypertext/WWW/Clients.html.
  213.    
  214.     Terminal based browsers
  215.     
  216.    Line Mode Browser
  217.           This program gives W3 readership to anyone with a dumb
  218.           terminal. A general purpose information retrieval tool.
  219.           Available by anonymous ftp from info.cern.ch in the directory
  220.           /pub/www/src.
  221.           
  222.    "Lynx" full screen browser
  223.           This is a hypertext browser for vt100s using full screen, arrow
  224.           keys, highlighting, etc. Available by anonymous FTP from
  225.           ftp2.cc.ukans.edu.
  226.           
  227.    Tom Fine's perlWWW
  228.           A tty-based browser written in perl. Available by anonymous FTP
  229.           from archive.cis.ohio-state.edu in the directory pub/w3browser
  230.           as the file w3browser-0.1.shar.
  231.           
  232.    For VMS
  233.           Dudu Rashty's full screen client based on VMS's SMG screen
  234.           management routines. Available by anonymous FTP from
  235.           vms.huji.ac.il in the directory www/www_client.
  236.           
  237.    Emacs w3-mode
  238.           W3 browse mode for emacs. Uses multiple fonts when used with
  239.           Lemacs or Epoch. See the documentation. Available by anonymous
  240.           FTP from moose.cs.indiana.edu in the directory pub/elisp/w3 as
  241.           the files w3.tar.Z and extras.tar.Z.
  242.           
  243.     PC Running Windows
  244.     
  245.    NOTE: both of these browsers require that you have SLIP, PPP or other
  246.           TCP/IP networking on your PC. SLIP or PPP can be accomplished
  247.           over phone lines, but only with the active cooperation of your
  248.           network provider or educational institution. If you only have
  249.           normal dialup shell access, your best option at this time is to
  250.           run Lynx on the system you call.
  251.           
  252.    Cello  Browser from Cornell LII. Available by anonymous FTP from
  253.           fatty.law.cornell.edu in the directory /pub/LII/cello.
  254.           
  255.    Mosaic for Windows
  256.           From NCSA. Available by anonymous FTP from ftp.ncsa.uiuc.edu in
  257.           the directory PC/Mosaic.
  258.           
  259.     PC Running DOS
  260.     
  261.    There are NO MSDOS-based browsers at this time. See the section above
  262.    for Windows browsers. An MSDOS-based version of Lynx (with a built-in
  263.    image viewer, although images can't appear inline) is on its way; when
  264.    it is available, an announcement will appear in comp.infosystems.www.
  265.    There is no need to post looking for one.
  266.    
  267.     Macintosh
  268.     
  269.    NOTE: all of these browsers require that you have SLIP, PPP or other
  270.           TCP/IP networking on your PC. SLIP and PPP can be accomplished
  271.           over phone lines, but only with the active cooperation of your
  272.           network provider or educational institution. If you only have
  273.           normal dialup shell access, your best option at this time is to
  274.           run Lynx on the system you call.
  275.           
  276.    Mosaic for Macintosh
  277.           From NCSA. Full featured. Available by anonymous FTP from
  278.           ftp.ncsa.uiuc.edu in the directory Mac/Mosaic.
  279.           
  280.    Samba  From CERN. Basic. Available by anonymous FTP from info.cern.ch
  281.           in the directory /ftp/pub/www/bin as the file mac.
  282.           
  283.     VMS Systems Running Xwindows
  284.     
  285.    NCSA Mosaic for VMS  Browser using X11/DecWindows/Motif. Multimedia
  286.    magic. Full http 1.0 support including PUT-method forms, image maps,
  287.    etc. Recommended if you can run it. Available by anonymous FTP from
  288.    ftp.ncsa.uiuc.edu in the directory Mosaic.
  289.    
  290.     Unix Systems Running Xwindows
  291.     
  292.    NCSA Mosaic for X
  293.           Browser using X11/Motif. Multimedia magic. Full http 1.0
  294.           support including PUT-method forms, image maps, etc.
  295.           Recommended if you can run it. Available by anonymous FTP from
  296.           ftp.ncsa.uiuc.edu in the directory Mosaic.
  297.           
  298.    tkWWW Browser/Editor for X11
  299.           Browser/Editor for X11. (Beta test version.) Available for
  300.           anonymous ftp from export.lcs.mit.edu in the directory contrib
  301.           as tkWWW-0.10.tar.Z. (Note: this document may not be up to
  302.           date, so you may prefer to ftp to this site by hand and look
  303.           for an even newer version rather than using the link above.)
  304.           
  305.    MidasWWW Browser
  306.           From Tony Johnson. (Beta, works well.)
  307.           
  308.    Viola for X (Beta)
  309.           Two versions for X: one using Motif, one using Xlib (no Motif).
  310.           Handles HTML+ forms and tables. Has extensions for multiple
  311.           columning, collapsible/expandable list, client-side document
  312.           include. Available by anonymous FTP from ora.com in
  313.           /pub/www/viola. More information available at the URL
  314.           <http://xcf.berkeley.edu/ht/projects/viola/README>.
  315.           
  316.    Chimera
  317.           Browser using Athena (doesn't require Motif). Supports forms,
  318.           inline images, etc.; closest to Mosaic in feel of the non-Motif
  319.           X11 browsers. Available for anonymous FTP from ftp.cs.unlv.edu
  320.           in the directory /pub/chimera.
  321.           
  322.     NeXTStep
  323.     
  324.    Browser-Editor on the NeXT
  325.           A browser/editor for NeXTStep. Allows wysiwyg hypertext
  326.           editing. Requires NeXTStep 3.0. Available for anonymous FTP
  327.           from info.cern.ch in the directory /pub/www/src.
  328.           
  329.     Batch Mode
  330.     
  331.    Batch mode browser
  332.           A batch-mode "browser", url_get, which is available through the
  333.           URL <http://wwwhost.cc.utexas.edu/test/zippy/url_get.html>. (I
  334.           am not aware of an anonymous FTP site for the same package at
  335.           present.) This package is intended for use in cron jobs and
  336.           other settings in which fetching a page in a command-line
  337.           fashion is useful.
  338.           
  339.     Unreleased or Unsupported
  340.     
  341.    Browser on CERNVM
  342.           A full-screen browser for VM. Nonexistent. Use the line mode
  343.           www. Might arrive suddenly one day.
  344.           
  345.    Dave Ragget's Browser
  346.           Unreleased. For X11, (later PC?)
  347.           
  348.    Erwise
  349.           X-windows early browser. Unsupported, now of historical
  350.           interest only.
  351.           
  352.    NJIT's Browser
  353.           Assumes a character-grid terminal with cursor addressing, and
  354.           provides a full-screen interface to the web.
  355.           
  356. 3.4: How can I provide information to the web?
  357.  
  358.    Information providers run programs that the browsers can obtain
  359.    hypertext from. These programs can either be WWW servers that
  360.    understand the HyperText Transfer Protocol HTTP (best if you are
  361.    creating your information database from scratch), "gateway" programs
  362.    that convert an existing information format to hypertext, or a
  363.    non-HTTP server that WWW browsers can access -- anonymous FTP or
  364.    gopher, for example.
  365.    
  366.    To learn more about World Wide Web servers, you can consult a www
  367.    server primer by Nathan Torkington, available at the URL
  368.    <http://www.vuw.ac.nz/who/Nathan.Torkington/ideas/www-servers.html>.
  369.    
  370.    If you only want to provide information to local users, placing your
  371.    information in local files is also an option. This means, however,
  372.    that there can be no off-machine access.
  373.    
  374.   3.4.1: OBTAINING SERVERS
  375.   
  376.    CERN's server is available for anonymous FTP from info.cern.ch and
  377.    many other places. Use archie to search for "www" or "WWW" to find
  378.    copies close to you.
  379.    
  380.    NCSA has also released a server, available for FTP from
  381.    ftp.ncsa.uiuc.edu.
  382.    
  383.    
  384.    
  385.    There is also a server written in the Perl scripting language, called
  386.    Plexus, for which documentation is available at the URL
  387.    <http://bsdi.com/server/doc/plexus.html>.
  388.    
  389.    There is a server for the Macintosh, MacHTTP, available at the URL
  390.    <http://www.uth.tmc.edu/mac_info/machttp_info.html>.
  391.    
  392.    There are also servers for Windows and Windows NT, but I don't have
  393.    the details; can anyone provide them?
  394.    
  395.    See http://info.cern.ch/hypertext/WWW/Daemon/Overview.html for more
  396.    information on writing servers and gateways in general.
  397.    
  398.   3.4.2: PRODUCING HTML DOCUMENTS
  399.   
  400.    There are several ways to produce HTML. One is to simply write it by
  401.    hand; try the "source" button of of your browser to look at the HTML
  402.    for an interesting page. The odds are that it'll be a great deal
  403.    simpler than you would expect. If you're used to marking up text in
  404.    any way (even red-pencilling it), HTML should be rather intuitive. A
  405.    beginner's guide to HTML is available at the URL
  406.    <http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html>.
  407.    
  408.    There is also an HTML primer by Nathan Torkington at the URL
  409.    <http://www.vuw.ac.nz/who/Nathan.Torkington/ideas/www-html.html>.
  410.    
  411.    Of course, most folks would still prefer to use a friendlier,
  412.    graphical editor. One option is to use an SGML editor with the HTML
  413.    DTD . Another, for EMACS fans, is to use EMACS and html-mode.el .
  414.    
  415.    For Microsoft Windows Windows users, there is an editor called HTML
  416.    Assistant with features to assist in the creation of HTML documents.
  417.    It can be had by anonymous FTP from ftp.cs.dal.ca in the directory
  418.    /htmlasst/. Read the README.1ST file in this directory for information
  419.    on which files to download.
  420.    
  421.    In addition, there are two collections of filters for converting your
  422.    existing documents (in TeX and other non-HTML formats) into HTML
  423.    automatically:
  424.    
  425.    Rich Brandwein and Mike Sendall's List at CERN. The URL is
  426.    <http://info.cern.ch/hypertext/WWW/Tools/Filters.html>.
  427.    
  428.    NCSA's List of Filters and Editors, for which the URL is
  429.    <http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/faq-software.html#e
  430.    ditors>, which also mentions two editors for MS Windows.
  431.    
  432.    Finally, TkWWW (listed above under XWindows browsers) supports HTML
  433.    editing.
  434.    
  435.   3.4.3: HOW DO I PUBLICIZE MY WORK?
  436.   
  437.    There are several things you can do to publicize your new HTML server
  438.    or other offering:
  439.      * Submit it to the NCSA What's New Page at the URL
  440.        <http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/whats-new.html>
  441.        (see the page for details on how to submit your listing!).
  442.      * Post it to the newsgroup comp.infosystems.announce. Please read
  443.        the group first to get a feel for the contents. You can also
  444.        crosspost to comp.infosystems.www.
  445.      * Submit it to the maintainers of various catalogs, such as the WWW
  446.        Virtual Library at the URL
  447.        <http://info.cern.ch/hypertext/DataSources/bySubject/Overview.html
  448.        >.
  449.        
  450. 3.5: How does WWW compare to gopher and WAIS?
  451.  
  452.    While all three of these information presentation systems are
  453.    client-server based, they differ in terms of their model of data. In
  454.    gopher, data is either a menu, a document, an index or a telnet
  455.    connection. In WAIS, everything is an index and everything that is
  456.    returned from the index is a document. In WWW, everything is a
  457.    (possibly) hypertext document which may be searchable.
  458.    
  459.    In practice, this means that WWW can represent the gopher (a menu is a
  460.    list of links, a gopher document is a hypertext document without
  461.    links, searches are the same, telnet sessions are the same) and WAIS
  462.    (a WAIS index is a searchable page, returning a document with no
  463.    links) data models as well as providing extra functionality.
  464.    
  465.    The principal difference between the three systems, it turns out, is
  466.    deployment. WWW does not have as large a user base as gopher, mainly
  467.    because of the small number of WWW browsers that are out. This is
  468.    changing as WWW reaches critical mass (usage of the server at CERN
  469.    doubles every 4 months -- twice the rate of Internet expansion).
  470.    
  471. 3.6: What is on the web?
  472.  
  473.    Currently accessible through the web:
  474.      * anything served through gopher
  475.      * anything served through WAIS
  476.      * anything on an FTP site
  477.      * anything on Usenet
  478.      * anything accessible through telnet
  479.      * anything in hytelnet
  480.      * anything in hyper-g
  481.      * anything in techinfo
  482.      * anything in texinfo
  483.      * anything in the form of man pages
  484.      * sundry hypertext documents
  485.        
  486.    
  487.    
  488.    One of the few limitations of the current networked information
  489.    systems is that there is no simple way to find out what has changed,
  490.    what is new, or even what is out there. As a result, a definitive list
  491.    of the web's contents is impossible at this moment. There are,
  492.    however, several resources which provide a great deal of information
  493.    on new and established servers by topic. These are just two:
  494.      * The WWW Virtual Library at the URL
  495.        <http://info.cern.ch/hypertext/DataSources/bySubject/Overview.html
  496.        >, a good place to find resources on a particular subject
  497.      * What's New With NCSA Mosaic at the URL
  498.        <http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/whats-new.html>
  499.        , which carries announcements of new servers on the web
  500.        
  501. 3.7: I want to know more
  502.  
  503.    
  504.    
  505.    To find out more, use the web. This FAQ hopefully provides enough
  506.    information for you to locate and install a browser on your system. If
  507.    you have system specific questions regarding FTP, networking and the
  508.    like, please consult newsgroups relevant to your particular hardware
  509.    and operating system!
  510.    
  511.    Later you may return to this FAQ for answers to some of the advanced
  512.    questions covered in the second section. The advanced section contains
  513.    the most-asked technical questions in the group.
  514.    
  515.    Once you're up and running, you may wish to consult the World Wide Web
  516.    Primer by Nathan Torkington. It is available at the URL
  517.    <http://www.vuw.ac.nz/who/Nathan.Torkington/ideas/www-primer.html>.
  518.    
  519.                              4: ADVANCED QUESTIONS
  520.                                        
  521. 4.1: How do I set up a clickable image map?
  522.  
  523.    
  524.    
  525.    There are really two issues here: how to indicate in HTML that you
  526.    want an image to be clickable, and how to configure your server to do
  527.    something with the clicks returned by Mosaic, Chimera, and other
  528.    clients capable of delivering them.
  529.    
  530.    You can read about image maps and the NCSA server at the URL
  531.    <http://hoohoo.ncsa.uiuc.edu/docs/setup/admin/Imagemap.html>.
  532.    
  533. 4.2: How do I make a "link" that doesn't load a new page?
  534.  
  535.    
  536.    
  537.    Such links are useful when a form is intended to perform some action
  538.    on the server machine without sending new information to the client,
  539.    or when a user has clicked in an undefined area in an image map; these
  540.    are just two possibilities.
  541.    
  542.    Rob McCool of NCSA provided the following wisdom on the subject:
  543.    
  544.  
  545. Yechezkal-Shimon Gutfreund (sg04@gte.com) wrote:
  546. : Ok, here is another bizzare request from me:
  547.  
  548. : I am currently running scripts which I "DO NOT" want to return
  549. : any visible result. That is, not text/plain, not text/HTML, not
  550. : image/gif. The entire results are the side effects of the
  551. : script and nothing should be returned to the viewer.
  552.  
  553. : It would be nice to have an internally supported null viewer
  554. : so that I could do this, more "cleanly" (ok, ok, I hear your groans).
  555.  
  556.    
  557.    
  558.    HTTP now supports a response code of 204, which is no operation. Some
  559.    browsers such as Mosaic/X 2.* support it. To use it, make your script
  560.    a nph script and output an HTTP/1.0 204 header. Something like:
  561.    
  562.    HTTP/1.0 204 No response Server: Myscript/NCSA httpd 1.1
  563.    
  564.    (You can learn more about nph scripts from the NCSA server
  565.    documentation at the URL <http://hoohoo.ncsa.uiuc.edu/docs>.)
  566.    Essentially they are scripts that handle their own HTTP response
  567.    codes.
  568.    
  569. 4.3: Where can I learn how to create fill-out forms?
  570.  
  571.    You can read about the Common Gateway Interface at the URL
  572.    <http://hoohoo.ncsa.uiuc.edu:80/cgi/>. In addition to documenting the
  573.    standard interface for which scripts can now be written for both NCSA
  574.    and CERN-derived servers, these pages also cover HTML forms and how to
  575.    handle the results on the server side.
  576.    
  577. 4.4: How can I save an inline image to disk?
  578.  
  579.    
  580.    
  581.    Here are two ways:
  582.    
  583.    1. Turn on "load to local disk" in your browser, if it has such an
  584.    option; then reload images. You'll be prompted for filenames instead
  585.    of seeing them on the screen. Be sure to shut it off when you're done
  586.    with it.
  587.    
  588.    2. Choose "view source" and browse through the HTML source; find the
  589.    URL for the inline image of interest to you; copy and paste it into
  590.    the "Open URL" window. This should load it into your image viewer
  591.    instead, where you can save it and otherwise muck about with it.
  592.    
  593. 4.5: How can I get sound from the PC speaker with WinMosaic?
  594.  
  595.    
  596.    
  597.    This piece of wisdom donated by Hunter Monroe:
  598.    
  599.    This section explains how to install sound on a PC which already has a
  600.    working version of Mosaic for Microsoft Windows. Be warned in advance
  601.    that the results may be poor.
  602.    
  603.    To get Mosaic to produce sound out of the PC speaker, first, you need
  604.    a driver for the speaker. You can get the Microsoft speaker driver
  605.    from the URL <ftp://ftp.microsoft.com/Softlib/MSLFILES/SPEAK.EXE> or
  606.    by doing an Archie search to find it somewhere else. SPEAK.EXE is a
  607.    self-extracting file. Copy the speak.exe file to a new directory, and
  608.    then type "SPEAK" at the DOS prompt. Do not put the file SPEAKER.DRV
  609.    in a separate directory from OEMSETUP.INF.
  610.    
  611.    Now, you need to install the driver. In Windows, from the Program
  612.    Manager choose successively Main/Control Panel/Drivers/Add/Unlisted or
  613.    updated drivers/(enter path of SPEAK.EXE)/PC Speaker. At this point
  614.    some strange sounds come out as the driver is initialized. Change the
  615.    settings to improve the sound quality on the various sounds: tada,
  616.    chimes, etc. Click OK when you are finished and choose the Restart
  617.    windows option.
  618.    
  619.    Having installed the speaker driver, you will now get sounds whenever
  620.    you start Windows, make a mistake, or exit Windows. If you do not want
  621.    this, from the Main/Control Panel/Sounds menu, make sure there is no X
  622.    next to "Enable System Sounds."
  623.    
  624.    Now, you need a sound viewer program that Mosaic can call to display
  625.    sounds. NCSA unfortunately recommend WHAM, which does not work well
  626.    with a PC speaker. Get the program WPLANY instead. You can find a copy
  627.    nearby with an Archie search on the string "wplny"; the current
  628.    version is WPLNY09B.ZIP. You can do an Archie search by filling out a
  629.    form from <http://web.nexor.ac.uk/archie.html>, then choosing
  630.    Options/Load to Disk before clicking on a link to "wplnyxxx.zip"
  631.    (where xxx is the current version).
  632.    
  633.    Move the zip file to a new directory, and use an unzip program like
  634.    pkunzip to unzip it, producing the files WPLANY.EXE and WPLANY.DOC.
  635.    Then edit the MOSAIC.INI file to remove the "REM" before the line
  636.    "TYPE9=audio/basic". Then, you need lines in the section below that
  637.    read something like: audio/basic="c:\wplany\wplany.exe %ls"
  638.    audio/wav="c:\wplany\wplany.exe %ls" where you have filled in the
  639.    correct path for wplany.exe. The MOSAIC.INI file delivered with Mosaic
  640.    may have NOTEPAD.EXE on the audio/basic line, but this will not work.
  641.    Now, restart Mosaic, and you should now be able to produce sounds. To
  642.    check this, with Mosaic choose File/Local File/\WINDOWS\*.WAV and then
  643.    try to play TADA.WAV. Then, you might try the Mosaic Demo document for
  644.    some .AU sounds, but you are lucky if your speaker produces something
  645.    you can understand.
  646.    
  647. 4.6: How do I comment out part of an HTML document?
  648.  
  649.    
  650.    
  651.    Use the <!-- tag at the beginning of EACH line commented out. Rumor
  652.    has it there is a proper closing tag for use with this tag, but I've
  653.    yet to see two people agree upon it.
  654.    
  655.                                   5: CREDITS
  656.                                        
  657.      * Thomas Boutell _boutell@netcom.com_
  658.      * Nathan Torkington _Nathan.Torkington@vuw.ac.nz_
  659.      * Marc Andreessen _marca@ncsa.uiuc.edu_
  660.      * Tony Johnson
  661.